package com.sunny.dao;

import com.sunny.pojo.Attentions;
import com.sunny.pojo.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttentionsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Attentions record);

    int insertSelective(Attentions record);

    Attentions selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Attentions record);

    int updateByPrimaryKey(Attentions record);

    int deleteByIds(@Param("idList") List<String> idList, @Param("buyerId") Integer buyerId);

    int deleteByHouseId(@Param("housId") String houseId,  @Param("buyerId") Integer buyerId);

    Attentions selectByAttentionsByAttention(Attentions attentions);

    List<Attentions> selectAttentionsByAttentios(Attentions attentions);
}